package cn.xiaopengstack.infrastructure.persistent.dao;

import cn.xiaopengstack.infrastructure.persistent.po.CrowdTagsJob;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author jiangyangang
* @description 针对表【crowd_tags_job(人群标签任务)】的数据库操作Mapper
* @createDate 2025-10-13 16:51:01
* @Entity cn.xiaopengstack.infrastructure.persistent.po.CrowdTagsJob
*/
@Mapper
public interface ICrowdTagsJobDao {

    int deleteByPrimaryKey(Long id);

    int insert(CrowdTagsJob record);

    int insertSelective(CrowdTagsJob record);

    CrowdTagsJob selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CrowdTagsJob record);

    int updateByPrimaryKey(CrowdTagsJob record);

    /**
     * 查询人群标签任务
     * @param tagId
     * @param batchId
     * @return
     */
    CrowdTagsJob queryCrowdTagsJob(@Param("tagId") String tagId, @Param("batchId") String batchId);
}
